LinuxQMISDK  SLQS04.00.27
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
_getDefaultSettingsV2 Struct Reference

Data Fields

ULONGpPDPType
 
ULONGpIPAddressv4
 
ULONGpPrimaryDNSv4
 
ULONGpSecondaryDNSv4
 
USHORTpIPAddressv6
 
USHORTpPrimaryDNSv6
 
USHORTpSecondaryDNSv6
 
ULONGpAuthentication
 
BYTE nameSize
 
CHARpName
 
BYTE apnSize
 
CHARpAPNName
 
BYTE userSize
 
CHARpUsername
 
BYTE pwdSize
 
CHARpPassword
 

Detailed Description

structure for default profile settings from the device. The default profile is used to establish an auto connect data session.

Parameters
pPDPType[OUT]
  • Packet Data Protocol (PDP) type specifies the type of data payload exchanged over the air link when the packet data session is established with this profile
    • 0 - PDP-IP (IPv4)
    • 1 - PDP-PPP
    • 2 - PDP-IPv6
    • 3 - PDP-IPv4v6
pIPAddressv4[OUT]
  • Preferred IPv4 addr to be assigned to device
pPrimaryDNSv4[OUT]
  • Primary DNS Ipv4 address preference
pSecondaryDNSv4[OUT]
  • Secondary DNS Ipv4 address preference
pIPAddressv6[OUT]
  • Preferred IPv6 addr to be assigned to device Space for storing 8 element array for the IPv6 addresses is allocated by the application. The IP Address will be retrieved in the big endian format. For example User buffer contents: [<U0>..<U7>]
    IPv6 address:
    1234:2A01:....:5678
    U0 corresponds to 1234
    U1 corresponds to 2A01
    – --------— – -—
    – --------— – -—
    U7 corresponds to 5678
pPrimaryDNSv6[OUT]
  • Primary DNS Ipv6 address preference
pSecondaryDNSv6[OUT]
  • Secondary DNS Ipv6 address preference
pAuthentication[OUT]
  • Bitmap that indicates authentication algorithm preference
    • 0x00000001 - PAP preference
      • 0 - Never performed
      • 1 - May be performed
    • 0x00000002 - CHAP preference
      • 0 - Never performed
      • 1 - May be performed
    • All other bits are reserved and must be set to 0
    • If more than 1 bit is set, then device decides which authentication procedure is performed while setting up data session e.g. the device may have a policy to select the most secure authentication mechanism.
nameSize
  • Maximum number of characters (including NULL terminator) that Profile name array can contain
pName[OUT]
  • Profile name
apnSize
  • Maximum number of characters (including NULL terminator) that APN name array can contain
pAPNName[OUT]
  • Access point name. NULL-terminated string parameter that is a logical name used to select GGSN and external packet data network.
  • If value is NULL or omitted, then subscription default value will be requested.
userSize
  • Maximum number of characters including NULL terminator) that username array can contain.
pUsername[OUT]
  • Username used during network authentication
pwdSize
  • Maximum number of characters including NULL terminator) that passwaord array can contain.
pPassword[OUT]
  • Password used during network authentication
Returns
eQCWWAN_ERR_NONE on success, eQCWWAN_xxx error value otherwise
See Also
See qmerrno.h for eQCWWAN_xxx error values
Note
Technology Supported: GSM/UMTS and LTE
Timeout: 2 seconds

Field Documentation

BYTE _getDefaultSettingsV2::apnSize
BYTE _getDefaultSettingsV2::nameSize
CHAR* _getDefaultSettingsV2::pAPNName
ULONG* _getDefaultSettingsV2::pAuthentication
ULONG* _getDefaultSettingsV2::pIPAddressv4
USHORT* _getDefaultSettingsV2::pIPAddressv6
CHAR* _getDefaultSettingsV2::pName
CHAR* _getDefaultSettingsV2::pPassword
ULONG* _getDefaultSettingsV2::pPDPType
ULONG* _getDefaultSettingsV2::pPrimaryDNSv4
USHORT* _getDefaultSettingsV2::pPrimaryDNSv6
ULONG* _getDefaultSettingsV2::pSecondaryDNSv4
USHORT* _getDefaultSettingsV2::pSecondaryDNSv6
CHAR* _getDefaultSettingsV2::pUsername
BYTE _getDefaultSettingsV2::pwdSize
BYTE _getDefaultSettingsV2::userSize

Copyright (c) 2011-2015 Sierra Wireless, Inc. All rights reserved